package com.wml.sellPhone.service;

import javax.servlet.http.HttpServletRequest;

/**
 * 发送邮件
 *
 * @author Cheryl
 * @date 2018-06-29 21:31
 */
public interface IEmailService {

    /**
     * 判断邮箱是否存在
     * @param email
     * @return
     */
    boolean judgeEmail(String email, HttpServletRequest request);

    /**
     * 邮件发送
     * @param content
     * @param title
     * @param toName
     */
    void sendEmail(String content, String title, String toName);
}
